home *** CD-ROM | disk | FTP | other *** search
- FPModel = function()
- {
- this.currentPage = 0;
- this.numPages = 0;
- this.dpi = _root.dpi;
- this.width = 0;
- ASBroadcaster.initialize(this);
- };
- FPModel.prototype.addPage = function(width_i, height_i)
- {
- this.numPages = this.numPages + 1;
- this.broadcastMessage("onAddPage",width_i,height_i);
- };
- FPModel.prototype.setPage = function(pageNum_i)
- {
- this.currentPage = pageNum_i;
- this.broadcastMessage("onSetPage",pageNum_i);
- };
-